package com.danco.training.zaneuskaya.dependency;

import java.io.Serializable;
import java.util.HashMap;

public class DependencyContainer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -623117255883856881L;

	public static DependencyContainer dependencyContainerInstance;

	private HashMap<String, String> services;

	public DependencyContainer() {
		setServices(new HashMap<String, String>());
	}

	public static DependencyContainer getDependencyContainerInstance() {
		if (dependencyContainerInstance == null) {
			dependencyContainerInstance = new DependencyContainer();
		}
		return dependencyContainerInstance;
	}

	public HashMap<String, String> getServices() {
		return services;
	}

	public void setServices(HashMap<String, String> services) {
		this.services = services;
	}
}
